home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
gsreunum.arc
/
GS-XXNUM.DOC
< prev
Wrap
Text File
|
1985-05-28
|
8KB
|
243 lines
******************************************************
* *
* GS-UNNUM.EXE and GS-RENUM.EXE *
* version 1.02 version 1.01 *
* *
* *
* (C)Copyright GILMORE SYSTEMS, 1984 *
* (C)Copyright Charles B. Gilmore, 1984 *
* *
* *
* You are hereby granted a license to use, share, *
* copy, and distribute these two programs and this *
* documentation, provided that this notice, and *
* the Copyright information is not removed or *
* altered in any way. *
* *
* These two programs are provided on an AS-IS basis *
* without warranty of any kind expressed or implied.*
* The entire risk as to quality and performance of *
* these programs rests solely with the user. In no *
* event will Gilmore Systems be liable to you for *
* any damages, consequential or inconsequential. By *
* operating any of the above programs, you acknow- *
* ledge you have read and understand this agreement *
* and agree to be bound by its terms and conditions.*
* *
* If you are using these programs and find them of *
* value, or if you have any suggestions or comments *
* please send your name and address along with *
* your comments to: *
* *
* GILMORE SYSTEMS *
* PO BOX 511 *
* NUTTING LAKE, MA. 01865 *
* *
* A $5 donation to support future public domain *
* developments would be appreciated, but is by *
* no means required. *
* *
******************************************************
GS-UNNUM.DOC Page 1
GS-UNNUM
The GS-UNNUM program will un-number all unreferenced lines in your
BASIC programs so that the '/N' option can be used with the BASIC
compiler. To use this program, you must save your BASIC program with
the ',A' option. The advantages of using this program and the '/N'
option on the compiler are as follows:
1 Depending on which compiler options you choose, extra bytes of
code are generated by the Compiler for each numbered line in
your program, resulting in larger .EXE files. This program will
eliminate generation of these extra bytes of code, resulting in
smaller .EXE files and faster load time.
2 Compile time is sped up considerably when the '/N' option is
used.
3 Less disk space is required to store the un-numbered program.
The un-numbered program can be re-numbered any time using the
GS-RENUM program. This eliminates the need to keep a copy of
your original numbered program on disk.
4 This program runs extremely fast, so it costs you almost no
time to un-number your program.
Compared with similar programs, GS-UNNUM runs up to of 6 times
faster, and misses no references. Many similar programs miss the ERL
references. All branch instructions must be properly delimited as
outlined in the BASIC manual. Once you start the program, everything
will be self explanatory. Incidentally, Your BASIC program does not
have to be numbered by tens, GS-UNNUM will handle any line numbering.
Differences in Version 1.01
1 Version 1.00 did not recognize RESTORE followed by a line
number - this has now been fixed.
2 The initial startup screen does not have a built in delay
anymore - hitting any key starts the program.
3 Many people have requested that the program indent unlabled
lines. The reason for not indenting the lines was to cut
down on disk storage space. In any event, Version 1.01 now
prompts you as to whether or not you want this indentation.
4 Version 1.01 has been made to execute even faster than
version 1.00. The greatest speed difference can be realized
when you have multiple statements across lines.
(C)Copyright GILMORE SYSTEMS, 1984
GS-UNNUM.DOC Page 2
Differences in Version 1.02
1 Version 1.02 now provides an option to scan for lowercase
BASIC references. Selecting this option will slow the
program down a bit, so try to avoid it if speed is
important.
2 Internal modifications allow your input file to come from
most text editors now.
(C)Copyright GILMORE SYSTEMS, 1984
GS-RENUM.DOC Page 3
GS-RENUM
GS-RENUM undoes what GS-UNNUM does. As long as you have not altered
the un-numbered output from the GS-UNNUM program, GS-RENUM will renumber
your un-numbered program so that it may be loaded and/or run with the
BASIC interpreter. Once you have loaded the output of GS-RENUM in the
BASIC interpreter, you would be advised to issue the 'renum' command
in BASIC.
When GS-RENUM is started, the prompts will be self-explanatory. This
program runs extremely fast, so once again, it costs you almost no
time at all to use this program.
Differences in Version 1.01
1 The initial startup screen does not have a built in delay
anymore - hitting any key starts the program. This is the
only difference from Version 1.00.
(C)Copyright GILMORE SYSTEMS, 1984
(C)Copyright GILMORE SYSTEMS, 1984